<html {$html_attrs}>
<head><title>Planejamento</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#center_block{$id} {margin:0 auto;}
#contents_block{$id} {text-align:center;}
#header_block{$id} {white-space:nowrap;height:31px;padding:5px 0;}
#fields_block{$id} {width:100%}
#buttons_block{$id} {padding-bottom:5px;white-space:nowrap;text-align:center;}
#required_block{$id} {text-align:left;padding:5px}
</style>
{END style_block}
</head>
<body>
				
{BEGIN body}

{$header}
{BEGIN addForm}
<div id='errOutput' class="errOutput"></div>
<div class="zpFormContent">
<TABLE width="95%" align="center" cellpadding=0 cellspacing=0 id="center_block{$id}">
  <tr><td id="header_block{$id}">
{BEGIN flybody}

<div id="header_block{$id}">
<h1>Planejamento, Novo Registro</h1>
</div>

{BEGIN message_block}
<div id="message_block{$id}" class="downedit">{$message}</div>
{END message_block}

<div align=left><hr width="100%" noshade size=1></div>

<a href="planejamento_list.php?a=return"{$backbutton_attrs}><img src="botoes/bt_voltar.gif" alt="Voltar" width="58" height="20" border="0"></a><br><br>

<table cellpadding=4 cellspacing=2 border=0 id="fields_block{$id}">
{BEGIN atividade_fieldblock}
  <tr><td class=shade  width=150>
  {BEGIN atividade_label}Atividade{END atividade_label}
 </td><td width=250>
    
    
       
       
					    {$atividade_editcontrol}
		
   </td></tr>
{END atividade_fieldblock}
{BEGIN id_sub_programas_fieldblock}
  <tr><td class=shade  width=150>
  {BEGIN id_sub_programas_label}Sub Programas{END id_sub_programas_label}
 </td><td width=250>
    
    
       
       
					    {$id_sub_programas_editcontrol}
		
   </td></tr>
{END id_sub_programas_fieldblock}
{BEGIN fator_qualidade_fieldblock}
  <tr><td class=shade  width=150>
  {BEGIN fator_qualidade_label}Fator Qualidade{END fator_qualidade_label}
 </td><td width=250>
    
    
       
       
					    {$fator_qualidade_editcontrol}
		
   </td></tr>
{END fator_qualidade_fieldblock}
{BEGIN plano_manejo_fieldblock}
  <tr><td class=shade  width=150>
  {BEGIN plano_manejo_label}Plano Manejo{END plano_manejo_label}
 </td><td width=250>
    
    
       
       
					    {$plano_manejo_editcontrol}
		
   </td></tr>
{END plano_manejo_fieldblock}
</table>

<div id="buttons_block{$id}">
	<br>&nbsp;&nbsp;&nbsp;
	<div align=left>
	  <hr width="100%" noshade size=1>
	</div>
	{BEGIN legend}
	<div id="required_block{$id}" ><img alt="bullet" src="images/icon_required.gif"> - Preenchimento Obrigatório</div>
	{END legend}
	{$legendBreak}
	{BEGIN save_button}
	
     <input name=submit1 type="image" value="submit" src="images/bt_enviar.gif" >
	{END save_button}
	{BEGIN cancel_button}
	 <input name="input" type="image" value="submit" src="images/bt_cancelar.gif" {$cancelbutton_attrs} >
	{END cancel_button}
</div>
{END flybody}
</td></tr>
</table>
</div>
{END addForm}
{BEGIN detail_tables}
{$displayDetailTable_sigap_etapas}
{END detail_tables}
<br><br>
{$footer}

{END body}
<script src="templates_js/planejamento_add.js" charset="iso-8859-1"></script>
<script>

new Zapatec.Form({
	form: 'editform1',
	showErrors: 'afterField',
	showErrorsOnSubmit: false,
	submitErrorFunc: testErrOutput,
	theme: "default"
});
</script>
</body>
</html>

